package com.sen.common.common.exception;

import com.sen.common.common.inter.RespCodeEnum;

/**
 * 服务调用受检测异常
 *
 * @author esjiang
 */
public class ServerInvokeException extends Exception {

    private static final long serialVersionUID = 6610083281801529147L;

    private RespCodeEnum respCodeEnum;

    public ServerInvokeException(RespCodeEnum respCodeEnum) {
        this.respCodeEnum = respCodeEnum;
    }

    public ServerInvokeException(String message) {
        super(message);
    }

}
